[FC-0099] fix: add constants and improve test class#125
[FC-0099] fix: add constants and improve test class#125mariajgrimaldi merged 4 commits intoopenedx:mainfrom
Conversation
|
Thanks for the pull request, @MaferMazu! This repository is currently maintained by Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are ready for engineering review. 🔘 Get product approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:
🔘 Get a green buildIf one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green. DetailsWhere can I find more information?If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources: When can I expect my changes to be merged?Our goal is to get community contributions seen and reviewed as efficiently as possible. However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
f5d8f80 to
3b0b1ed
Compare
3b0b1ed to
2ba9672
Compare
BryanttV
left a comment
There was a problem hiding this comment.
Thanks @MaferMazu!
Could we use these constants in the API views? and I'm not sure if also we should use them in the tests instead of a hardcoded string. What do you think?
cc84825 to
09cb1f3
Compare
09cb1f3 to
95de071
Compare
95de071 to
ca8e569
Compare
ca8e569 to
1371d5e
Compare
bmtcril
left a comment
There was a problem hiding this comment.
Thanks for this! Just a small non-blocking comment
rodmgwgu
left a comment
There was a problem hiding this comment.
Looks good, thanks for adding the constants.
mariajgrimaldi
left a comment
There was a problem hiding this comment.
LGTM! Thanks for addressing all of my comments :)
Description
This PR:
BaseRolesTestCaseto be able to access the policy and the model from outside.How to test
Tests are passing.
Merge checklist:
Check off if complete or not applicable: